.TH std::numeric_limits::radix 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::numeric_limits::radix \- std::numeric_limits::radix

.SH Synopsis
   static const int radix;      \fI(until C++11)\fP
   static constexpr int radix;  \fI(since C++11)\fP

   The value of std::numeric_limits<T>::radix is the base of the number system used in
   the representation of the type. It is 2 for all binary numeric types, but it may be,
   for example, 10 for IEEE 754 decimal floating-point types or for third-party
   binary-coded decimal integers. This constant is meaningful for all specializations.

.SH Standard specializations

   T                                value of std::numeric_limits<T>::radix
   /* non-specialized */            0
   bool                             2
   char                             2
   signed char                      2
   unsigned char                    2
   wchar_t                          2
   char8_t \fI(since C++20)\fP            2
   char16_t \fI(since C++11)\fP           2
   char32_t \fI(since C++11)\fP           2
   short                            2
   unsigned short                   2
   int                              2
   unsigned int                     2
   long                             2
   unsigned long                    2
   long long \fI(since C++11)\fP          2
   unsigned long long \fI(since C++11)\fP 2
   float                            FLT_RADIX
   double                           FLT_RADIX
   long double                      FLT_RADIX

.SH See also

   digits       number of radix digits that can be represented without change
   \fB[static]\fP     \fI(public static member constant)\fP
   min_exponent one more than the smallest negative power of the radix that is a valid
   \fB[static]\fP     normalized floating-point value
                \fI(public static member constant)\fP
   max_exponent one more than the largest integer power of the radix that is a valid
   \fB[static]\fP     finite floating-point value
                \fI(public static member constant)\fP
